package utils;

import java.io.IOException;
import java.util.Properties;

public class ConfigUtil {

	private static Properties props = new  Properties();
	
	static{
		try {
			
			//System.out.println(ConfigUtil.class.getClassLoader().getResourceAsStream("config.properies"));
			props.load(ConfigUtil.class.getClassLoader().getResourceAsStream("config.properties"));
			//System.out.println("ok333");
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
	
	public static String getValue(String key) {
		
		
		return props.getProperty(key);
	}
	
}
